//package com.interview.framework.interceptor;
//
//import jakarta.servlet.http.HttpServletRequest;
//import jakarta.servlet.http.HttpServletResponse;
//import jakarta.validation.constraints.NotNull;
//import org.springframework.stereotype.Component;
//import org.springframework.web.servlet.HandlerInterceptor;
//
/// **
// * @author zzw
// * @date 2025/6/1
// * @description 认证拦截器
// */
//@Component
//public class AuthInterceptor implements HandlerInterceptor {
//
//    @Override
//    public boolean preHandle(HttpServletRequest request, HttpServletResponse response,
//                             Object handler) throws Exception {
//        // 在这里做权限校验、token 解析等逻辑
//        return true; // 返回 false 表示中断请求
//    }
//}
